package com.hsogoo.game.entity;

import java.io.Serializable;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

import lombok.Data;

/**
 * Created by za-huangsaigang on 2017/12/4.
 */
@Data
public class Room implements Serializable {

    private String rid;
    private List<Player> playerList = new CopyOnWriteArrayList<>();

    public Room(String rid) {
        this.rid = rid;
    }
}
